home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
misc
/
amag
/
am9305d.lha
/
EGS.lha
/
EGS
/
EGS_Devels
/
doc
/
gbtextinfo.doc
< prev
Wrap
Text File
|
1993-03-18
|
2KB
|
78 lines
/*
* $
* $ FILE : gbtextinfo.doc
* $ VERSION : 1
* $ REVISION : 1
* $ DATE : 08-Feb-93 10:08
* $
* $ Author : mvk
* $
*
*
* (c) Copyright 1990/93 VIONA Development
* All Rights Reserved
*
*/
gbtextinfo.library/EGB_CreateTextInfoGadget
gbtextinfo.library/EGB_ModifyTextInfoGadget
gbtextinfo.library/EGB_CreateTextInfoGadget
NAME
EGB_CreateTextInfoGadget
SYNOPSIS
box = EGB_CreateTextInfoGadget(con, minW, maxW, minH, maxH, font, id);
D0 A0 D0 D1 D2 D3 A1 D4
EB_GadBoxPtr box;
WORD minW, maxW, minH, maxH;
EG_EFontPtr font;
LONG id;
FUNCTION
Creates a gadbox textinfo gadget. These gadgets don't expect user input.
They display text to the user. The user can scroll through the text using
a proportional gadget. These gadgets have an automatic word wrap, so no
care for the gadgets widhth has to be taken.
INPUTS
con : The associated gadget context
minW : The minimum number of collumns requiered
maxW : The maximum number of collumns allowed
minH : The minimum number of lines requiered
maxH : The maximum number of lines allowed
font : The font to be used; if NULL, the default font is used
id : The gadgets id (only used to find it);
RESULT
gbtextinfo.library/EGB_ModifyTextInfoGadget
NAME
EGB_ModifyTextInfoGadget
SYNOPSIS
EGB_ModifyTextInfoGadget(win, gad, text);
A0 A1 A2
EI_WindowPtr win;
EI_GadgetPtr gad;
char *text;
FUNCTION
Set, clear of change the text of a text info gadget. The text is an array
of chars. Paragraphs are separated by LF. The text must be terminated by a
null character.
INPUTS
win : The window, that contains the gadget; if NULL, no refresh is done
gad : The text info gadget
text : The text to be displayed. Must be kept, until it is remove again.
NULL clears the text.
RESULT